package com.yixing.tech.system.service;

import com.yixing.tech.common.base.BusinessException;
import com.yixing.tech.common.base.IBaseService;
import com.yixing.tech.common.vo.s3.DepartmentVO;

import java.util.List;
import java.util.Map;

/**
 * @author yixing tech
 * at 2021/12/20
 * describe：
 */
public interface IDepartmentService extends IBaseService<DepartmentVO, DepartmentVO> {

    /**
     * 添加子部门
     * @param vo
     * @throws BusinessException
     */
    public void addChild(DepartmentVO vo)throws BusinessException;

    public List<Map> getRoles();

}
